import {createApp} from 'vue'
import App from '@/App.vue'
import router from '@/router';
import store from '@/store';

// 引入样式
import '/src/assets/css/markdown.css'
import '/src/assets/css/github.css'
import '/src/assets/css/reset.css'
import 'github-markdown-css'
import 'vant/lib/index.css';

import wechat from 'weixin-js-sdk'

import {
    BackTop,
    Button,
    Card,
    Cell,
    CellGroup,
    Col,
    ConfigProvider,
    Dialog,
    DropdownItem,
    DropdownMenu,
    Empty,
    Field,
    Form,
    Grid,
    GridItem,
    Icon,
    Image,
    List,
    Loading,
    NavBar,
    Popup,
    PullRefresh,
    Row,
    Sticky,
    Tab,
    Tabbar,
    TabbarItem,
    Tabs,
    Toast,
    Tag
} from 'vant';

createApp(App)
    .use(wechat)
    .use(router)
    .use(store)

    .use(Tag)
    .use(DropdownItem)
    .use(DropdownMenu)
    .use(Form)
    .use(Tabs)
    .use(Tab)
    .use(GridItem)
    .use(Grid)
    .use(Dialog)
    .use(Card)
    .use(Image)
    .use(Empty)
    .use(Loading)
    .use(BackTop)
    .use(Popup)
    .use(Sticky)
    .use(TabbarItem)
    .use(Tabbar)
    .use(Field)
    .use(CellGroup)
    .use(Cell)
    .use(PullRefresh)
    .use(List)
    .use(Icon)
    .use(Toast)
    .use(ConfigProvider)
    .use(Col)
    .use(Row)
    .use(NavBar)
    .use(Button)
    .mount('#app')
